﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="MasterEmployeeRegister.aspx.cs" Inherits="WebApplication10.MasterEmployeeRegister" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style14
        {
            width: 100%;
        }
        .style15
        {
            width: 97px;
        }
        .style16
        {
            font-size: medium;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:HyperLink ID="HyperLink14" runat="server" 
    NavigateUrl="~/MasterRegisterAll.aspx" style="font-size: medium">Register</asp:HyperLink>
    &nbsp;<span class="style16">|</span>&nbsp;<asp:HyperLink ID="HyperLink15" 
        runat="server" NavigateUrl="~/MasterLogInAll.aspx" 
        style="font-size: medium">Log In</asp:HyperLink>
&nbsp;</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <br />
        <br />
    </p>
    <center>
        <asp:Panel ID="Panel1" runat="server" BackColor="#93C6E3" Height="616px" 
        Width="662px" style="text-align: left">
            <table class="style14">
                <tr>
                    <td style="text-align: left">
                        <asp:Label ID="Label2" runat="server" 
                            style="font-weight: 700; font-family: Calibri; font-size: x-large" 
                            Text="JobSeeker Registration"></asp:Label>
                    </td>
                </tr>
            </table>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                BorderColor="Black" BorderWidth="1px" ForeColor="Red" 
                HeaderText="Error Message" style="font-family: Calibri; text-align: left" 
                Width="462px" />
            <br />
            <table class="style14">
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label3" runat="server" style="font-family: Calibri" 
                            Text="Username:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="UserName" runat="server" Width="353px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="UserName" ErrorMessage="Please enter a username!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label4" runat="server" style="font-family: Calibri" 
                            Text="Password:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Password" runat="server" Width="353px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="Password" ErrorMessage="Please enter a password!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label14" runat="server" style="font-family: Calibri" 
                            Text="Confirm Password:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="TextBox1" runat="server" TextMode="Password" Width="353px"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="Password" ControlToValidate="TextBox1" Display="Dynamic" 
                            ErrorMessage="Password must be the same" ForeColor="Red">*</asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label5" runat="server" style="font-family: Calibri" Text="Name:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Name" runat="server" Width="353px" Height="22px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="Name" ErrorMessage="Please enter a name!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label6" runat="server" style="font-family: Calibri" 
                            Text="Contact No.:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Contact" runat="server" Width="354px" MaxLength="8"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="Contact" ErrorMessage="Please enter a contact no!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                        <asp:RangeValidator ID="RangeValidator5" runat="server" 
                            ControlToValidate="Contact" Display="Dynamic" 
                            ErrorMessage="Invalid contact number entered" ForeColor="Red" 
                            MaximumValue="99999999" MinimumValue="00000000">*</asp:RangeValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label7" runat="server" style="font-family: Calibri" 
                            Text="Email:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Email" runat="server" Width="354px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                            ControlToValidate="Email" ErrorMessage="Please enter an email!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label8" runat="server" style="font-family: Calibri" 
                            Text="Address:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Address" runat="server" Width="354px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="Address" ErrorMessage="Please enter an address" 
                            ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label9" runat="server" style="font-family: Calibri" 
                            Text="Postal Code:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="PostalCode" runat="server" MaxLength="6"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                            ControlToValidate="PostalCode" ErrorMessage="Please enter a postal code!" 
                            ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                        <asp:RangeValidator ID="RangeValidator4" runat="server" 
                            ControlToValidate="PostalCode" Display="Dynamic" 
                            ErrorMessage="Invalid postal code entered" ForeColor="Red" 
                            MaximumValue="999999" MinimumValue="000000">*</asp:RangeValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label10" runat="server" style="font-family: Calibri" 
                            Text="Gender:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txtGender" runat="server" MaxLength="1" Width="33px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                            ControlToValidate="txtGender" 
                            ErrorMessage="Please choose a gender!" ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
                        <br />
                        <asp:Label ID="Label12" runat="server" ForeColor="#0000CC" 
                            style="font-family: Calibri; font-size: small" Text="M = Male, F = Female"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style15" style="text-align: left">
                        <asp:Label ID="Label11" runat="server" style="font-family: Calibri" 
                            Text="Date Of Birth:"></asp:Label>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txtDate" runat="server" MaxLength="2" Width="33px"></asp:TextBox>
                        &nbsp;&nbsp;/
                        <asp:TextBox ID="txtMonth" runat="server" MaxLength="2" Width="33px"></asp:TextBox>
                        &nbsp; /
                        <asp:TextBox ID="txtYear" runat="server" MaxLength="4" Width="48px"></asp:TextBox>
                        <asp:RangeValidator ID="RangeValidator3" runat="server" 
                            ControlToValidate="txtDate" Display="Dynamic" 
                            ErrorMessage="Invalid day entered" ForeColor="Red" MaximumValue="31" 
                            MinimumValue="01">*</asp:RangeValidator>
                        <asp:RangeValidator ID="RangeValidator2" runat="server" 
                            ControlToValidate="txtMonth" Display="Dynamic" 
                            ErrorMessage="Invalid month entered" ForeColor="Red" MaximumValue="12" 
                            MinimumValue="01">*</asp:RangeValidator>
                        <asp:RangeValidator ID="RangeValidator1" runat="server" 
                            ControlToValidate="txtYear" Display="Dynamic" 
                            ErrorMessage="Age must be above 18" ForeColor="Red" MaximumValue="1993" 
                            MinimumValue="1911">*</asp:RangeValidator>
                        <br />
                        <asp:Label ID="Label13" runat="server" ForeColor="#0000CC" 
                            style="font-family: Calibri; font-size: small" 
                            Text="DD/MM/YYYY Eg:(01/01/1985)"></asp:Label>
                        <br />
                    </td>
                </tr>
            </table>
            <table class="style14">
                <tr>
                    <td style="text-align: left">
                        <asp:Button ID="Button1" runat="server" Text="Cancel" onclick="Button1_Click" 
                            CausesValidation="False" />
                    </td>
                    <td style="text-align: right">
                        <asp:Button ID="Button2" runat="server" Text="Submit" onclick="Button2_Click" />
                    </td>
                </tr>
            </table>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
    </asp:Panel></center>
    <p>
        <br />
        <br />
        <br />
    </p>
    <p>
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    </p>
</asp:Content>
